package top.szhome.system.qry;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.szhome.framework.core.tools.annotation.db.Order;
import top.szhome.framework.core.tools.annotation.db.Where;
import top.szhome.framework.core.tools.constant.Condition;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 字典项 查询条件
 *
 * @author 唐加利
 * @date @date 2023/08/02
 **/
@Data
@Schema(description = "字典项 查询条件")
public class DictValueQry implements Serializable {

    /**
     * 序列号
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Where
    private Long id;

    /**
     * 字典编码
     */
    @Where
    private String dictCode;

    /**
     * 标签
     */
    @Where(Condition.LIKE)
    private String name;

    /**
     * 取值
     */
    @Where(Condition.LIKE)
    private String value;

    /**
     * 状态
     */
    @Where(Condition.IN)
    private List<String> status;

    /**
     * 备注
     */
    @Where(Condition.LIKE)
    private String remark;

    /**
     * 排序
     */
    @Order
    private Integer sort;

}

